X-Git-Url: https://shimmer.witbreuk.eu/gitweb/UltimateKEYS.git/blobdiff_plain/1f96b29f3e6ce25f3b7bec185959ec061e6251c6..42c5605a4f3fee7007482c26df3509ee70e2fb1e:/autohotkey/UltimateKEYS%20(for%20AutoHotkey%20v1.1).ahk diff --git a/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk b/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk index d6aae51..d9938c1 100644 --- a/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk +++ b/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk @@ -1,6 +1,6 @@ #requires AutoHotkey v1.1 -; UltimateKEYS (for AutoHotkey v1.1).ahk - 2025-01-29 +; UltimateKEYS (for AutoHotkey v1.1).ahk - 2025-02-11 ; Website : https://pieter-degroote.github.io/UltimateKEYS/ @@ -21,10 +21,12 @@ ListLines Off ; omits recently executed lines from history (for privacy and se SendMode Input ; optimizes for faster and more reliable input +global gEndKeys := "{bs}{esc}" ; ends dead key input on Backspace or Escape + ; Compose Key Sequences (declaration) -compose := ComObjCreate("Scripting.Dictionary") +global compose := ComObjCreate("Scripting.Dictionary") ; Compose : Acute Accent @@ -395,8 +397,6 @@ compose.item["bd"] := "{u+0256}" ; (ɖ) small letter d with tail compose.item["bD"] := "{u+0189}" ; (Ɖ) capital letter African D compose.item["be"] := "{u+0115}" ; (ĕ) e with breve compose.item["bE"] := "{u+0114}" ; (Ĕ) E with breve -compose.item["bf"] := "{u+0259}" ; (ə) small letter schwa (Azerbaijani) -compose.item["bF"] := "{u+018f}" ; (Ə) capital letter schwa (Azerbaijani) compose.item["bg"] := "{u+011f}" ; (ğ) g with breve compose.item["bG"] := "{u+011e}" ; (Ğ) G with breve compose.item["bi"] := "{u+012d}" ; (ĭ) i with breve @@ -409,10 +409,6 @@ compose.item["bt"] := "{u+021b}" ; (ț) t with comma below (Romanian) compose.item["bT"] := "{u+021a}" ; (Ț) T with comma below (Romanian) compose.item["bu"] := "{u+016d}" ; (ŭ) u with breve compose.item["bU"] := "{u+016c}" ; (Ŭ) U with breve -compose.item["bw"] := "{u+01bf}" ; (ƿ) small letter wynn -compose.item["bW"] := "{u+01f7}" ; (Ƿ) capital letter wynn -compose.item["by"] := "{u+021d}" ; (ȝ) small letter yogh -compose.item["bY"] := "{u+021c}" ; (Ȝ) capital letter yogh compose.item["b3"] := "{u+0292}" ; (ʒ) small letter ezh compose.item["b#"] := "{u+01b7}" ; (Ʒ) capital letter ezh @@ -535,6 +531,10 @@ compose.item["ls"] := "{u+0283}" ; (ʃ) Latin small letter esh compose.item["lS"] := "{u+01a9}" ; (Ʃ) Latin capital letter esh compose.item["lu"] := "{u+028a}" ; (ʊ) Latin small letter upsilon compose.item["lU"] := "{u+01b1}" ; (Ʊ) Latin capital letter upsilon +compose.item["lw"] := "{u+01bf}" ; (ƿ) small letter wynn +compose.item["lW"] := "{u+01f7}" ; (Ƿ) capital letter wynn +compose.item["ly"] := "{u+021d}" ; (ȝ) small letter yogh +compose.item["lY"] := "{u+021c}" ; (Ȝ) capital letter yogh compose.item["l8"] := "{u+0223}" ; (ȣ) small letter ou compose.item["l*"] := "{u+0222}" ; (Ȣ) capital letter OU compose.item["l7"] := "{u+0242}" ; (ɂ) small letter glottal stop @@ -817,8 +817,6 @@ compose.item["q0"] := "{u+21d4}" ; (⇔) left right double arrow ; Compose : Various Symbols compose.item["sa"] := "{u+2100}" ; (℀) account of -compose.item["sb"] := "{u+203d}" ; (‽) interrobang -compose.item["sB"] := "{u+2e18}" ; (⸘) inverted interrobang compose.item["sc"] := "{u+2105}" ; (℅) care of compose.item["sd"] := "{u+22c4}" ; (⋄) diamond operator compose.item["se"] := "{u+212e}" ; (℮) estimated symbol @@ -919,6 +917,8 @@ compose.item["ae"] := "{u+00e6}" ; (æ) letter ae compose.item["AE"] := "{u+00c6}" ; (Æ) letter AE compose.item["dh"] := "{u+00f0}" ; (ð) small letter eth compose.item["DH"] := "{u+00d0}" ; (Ð) capital letter eth +compose.item["ee"] := "{u+0259}" ; (ə) small letter schwa +compose.item["EE"] := "{u+018f}" ; (Ə) capital letter schwa compose.item["fs"] := "{u+017f}" ; (ſ) small letter long s compose.item["ij"] := "{u+0133}" ; (ij) ligature ij compose.item["IJ"] := "{u+0132}" ; (IJ) ligature IJ @@ -972,6 +972,8 @@ compose.item["a-"] := "{u+00aa}" ; (ª) feminine ordinal indicator (Spanish, Po compose.item["o-"] := "{u+00ba}" ; (º) masculine ordinal indicator (Spanish, Portuguese, Italian, Galician) compose.item["!!"] := "{u+00a1}" ; (¡) inverted exclamation mark compose.item["??"] := "{u+00bf}" ; (¿) inverted question mark +compose.item["!?"] := "{u+203d}" ; (‽) interrobang +compose.item["?!"] := "{u+2e18}" ; (⸘) inverted interrobang compose.item["oc"] := "{u+00a9}" ; (©) copyright sign compose.item["(c"] := "{u+00a9}" ; (©) copyright sign compose.item["op"] := "{u+2117}" ; (℗) sound recording copyright @@ -996,6 +998,10 @@ compose.item[";w"] := "{u+25e6}" ; (◦) white bullet compose.item[";h"] := "{u+2043}" ; (⁃) hyphen bullet compose.item[";t"] := "{u+2023}" ; (‣) triangular bullet compose.item[";;"] := "{u+2022}" ; (•) bullet +compose.item[":("] := "{u+2639}" ; (☹) white frowning face +compose.item[":)"] := "{u+263a}" ; (☺) white smiling face +compose.item[";)"] := "{u+263b}" ; (☻) black smiling face +compose.item["<3"] := "{u+2665}" ; (♥) black heart suit compose.item["[]"] := "{u+2610}" ; (☐) ballot box compose.item["[v"] := "{u+2611}" ; (☑) ballot box with check compose.item["[y"] := "{u+2611}" ; (☑) ballot box with check @@ -1832,8 +1838,7 @@ compose.item["?U"] := "{u+1ef0}" ; (Ự) U with horn and dot below >!sc056:: ; Right Alt + ISO Key <^>!sc029:: ; AltGr + Grave Accent <^>!sc056:: ; AltGr + ISO Key - keys := InputHook("L2", "{esc}") - keys.Start() - keys.Wait() - Send % compose.item[keys.Input] + ih := InputHook("L2", gEndKeys) + ih.Start(), ih.Wait() + Send % compose.item[ih.Input] return